home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / select.zip / SAMPLE.BAT < prev    next >
DOS Batch File  |  1991-01-23  |  686b  |  35 lines

  1. REM This batch file will keep asking you to select a set of
  2. REM programs and running them until you opt to exit to DOS
  3. :MENU
  4. ECHO  YOU MAY CHOOSE ONE OF THE FOLLOWING PROGRAMS TO RUN:
  5. ECHO  f) F-19 flight simulator
  6. ECHO  s) Scrabble
  7. ECHO  t) Tetris
  8. ECHO  w) Microsoft works
  9. ECHO  e) Exit and return to DOS
  10. select fstw
  11. IF ERRORLEVEL 23 GOTO WORK
  12. IF ERRORLEVEL 20 GOTO TET
  13. IF ERRORLEVEL 19 GOTO SCRAB
  14. IF ERRORLEVEL 6  GOTO FSIM
  15. IF ERRORLEVEL 5  GOTO EXIT
  16. REM THE ERRORLEVEL STATEMENTS MUST BE IN DESCENDING ORDER!
  17. :WORK
  18. CD \WORKS
  19. WORKS
  20. GOTO MENU
  21. :TET
  22. CD \TETRIS
  23. TETRIS
  24. GOTO MENU
  25. :SCRAB
  26. CD \SCRABBLE
  27. SCRABBLE
  28. GOTO MENU
  29. :FSIM
  30. CD \F19
  31. F19
  32. GOTO MENU
  33. :EXIT
  34.  
  35.